public class Abstract {
    public static void main(String[] args) {
        Person_1 ps = new Teacher_1();
        ps.say();

    }
}
abstract  class Person_1 {
    // 抽象类必须被继承，无法被实例化
    abstract  void pay();
    public void say(){
        System.out.println("我是磁力爆");
    }
}
class Teacher_1 extends Person_1 {
    @Override
    void pay() {

    }

    @Override
    public void say(){
        System.out.println("你好");
    }
}